package com.woniuxy.carlife.carlifenewcomplaintsweb.service;

import com.woniuxy.carlife.carlifenewcomplaintsdomain.dto.UserComplaintDto;
import com.woniuxy.carlife.carlifenewcomplaintsdomain.param.UserComplaintParam;
import com.woniuxy.carlife.carlifenewcomplaintsweb.domain.UserComplaint;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author yp
 * @ClassName:UserComplaintService
 * @Description:用户投诉服务
 * @date 2021/4/7 2:32
 **/
public interface UserComplaintService extends IService<UserComplaint> {

    /*
     * 功能描述〈添加投诉〉
     * @author:yp
     * @param:UserComplaintParam
     * @return:
     * @Date 2021/4/12 15:16
     * @throws
     */
    public int addUserComplaint(UserComplaintParam userComplaintParam);


    /*
     * 功能描述〈用户查询自己的投诉〉
     * @author:yp
     * @param:UserComplaintParam
     * @return:
     * @Date 2021/4/12 15:17
     * @throws
     */
    public List<UserComplaintDto> findUserComplaint(UserComplaintParam userComplaintParam);


    /*
     * 功能描述〈门店查看自己的投诉〉
     * @author:yp
     * @param:UserComplaintParam
     * @return:List<UserComplaintDto>
     * @Date 2021/4/12 16:33
     * @throws
     */
    public List<UserComplaintDto> findComplaint(Integer storeId);


    /*
     * 功能描述〈修改投诉〉
     * @author:yp
     * @param: UserComplaintParam
     * @return:
     * @Date 2021/4/12 15:19
     * @throws
     */
    public  int  updateUserComplaint(UserComplaintParam userComplaintParam);

    /*
     * 功能描述〈删除投诉〉
     * @author:yp
     * @param: UserComplaintParam
     * @return:
     * @Date 2021/4/12 15:21
     * @throws
     */
    public  int  deleteUserComplaint(Integer userComplaintId);
}
